#include "Q9_1.h"

void main(void)
{
	People *p1 = new People(1, Date(12,12,1212), "A");
	People *p2 = new People(p1);
	People *p3 = new People(p2);
	p3->SetName("B");
	People *p4 = new People(p3);
	People *p5 = new People(p4);
	p5->SetName("C");
	float a[] = {9.8, 9};
	Student *sv1 = new Student(2, Date(2,2,2002), "A", 2006, 2, a);
	Student *sv2 = new Student(2, Date(2,4,2002), "B", 2006, 2, a);
	Student *sv3 = new Student(2, Date(2,6,2002), "C", 2006, 2, a);
	Student *sv4 = new Student(2, Date(2,8,2002), "D", 2006, 2, a);
	Student *sv5 = new Student(2, Date(2,10,2002), "E", 2006, 2, a);
 	Teacher *s1 = new Teacher(3, Date(1,1,2001), "A", 1, Date(1,5,20111), 10, 1, MATHS, PHYS);
	Teacher *s2 = new Teacher(3, Date(1,2,2001), "B", 1, Date(1,4,20111), 10, 1, MATHS, PHYS);
	Teacher *s3 = new Teacher(3, Date(1,3,2001), "C", 1, Date(1,3,20111), 10, 1, MATHS, PHYS);
	Teacher *s4 = new Teacher(3, Date(1,4,2001), "D", 1, Date(1,2,20111), 10, 1, MATHS, PHYS);
	Teacher *s5 = new Teacher(3, Date(1,5,2001), "E", 1, Date(1,1,20111), 10, 1, MATHS, PHYS);
	cout<<"Number of people:	" <<People.m_count<<endl;
	cout<<"Number of student:	"<<Student.m_count<<endl;
	cout<<"Number of staff:	"<<Staff.m_count<<endl;
	cout<<"Number of teacher:	"<<Teacher.m_count<<endl;
}